#pragma once


// CDlgTrailBOMDetail dialog

class CDlgTrailBOMDetail : public CDialogEx
{
	DECLARE_DYNAMIC(CDlgTrailBOMDetail)

public:
	CDlgTrailBOMDetail(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgTrailBOMDetail();

// Dialog Data
	enum { IDD = IDD_DLG_TRAIL_BOMDETAIL_TAB };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);

	int		BindingData( const int nMaterialID = 10000 );

private:
	int			m_nColumnCountOfList;
	CListCtrl	m_lstTrailSubTabBomDetail;
	CFont*		m_fontLocalFont;

	BOOL	InitListCtrl();
	void SetFontSelf(int nHeight, LPCTSTR lpszFacename);  

public:
	afx_msg void OnSize(UINT nType, int cx, int cy);
};
